<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title>添加商品</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script
	src="https://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>

</head>
<body>

	<div
		style="width: 700px; height: 500px; min-width: 600px; border: 10px solid yellowgreen; border-radius: 20px">
		<h1 style="color: #848484">智能添加商品</h1>
		<p style="font-weight: 900; color: red">${msg }</p>
		<div style="width: 300px; float: left">
			<form action="addNewsServlet" method="post">

				图书类型：<input style="width: 150px; height: 20px; margin-top: 20px;"
					type="text" name="newsclass" placeholder="填写整形以后方便分类 " required /><br />
				图书位置：<input style="width: 150px; height: 20px; margin-top: 20px;"
					type="text" name="newsid" required placeholder="填写整形 " /><br />
				商品标题：<input style="width: 150px; height: 20px; margin-top: 20px;"
					type="text" name="newstitle"  /><br />
				<br /> 商品图片: <input style="width: 150px; height: 20px;" type="text"
					name="newsimg"  placeholder="填写路径例如 image/5.jpg" /><br />
				<br /> 商品简介：<input style="width: 150px; height: 20px;" type="text"
					name="newscontent"  /><br />
				<br /> 卖家昵称：<input style="width: 150px; height: 20px;" type="text"
					name="newsauthod"  placeholder="填写卖家名称" /><br />
				<br /> 卖家电话：<input style="width: 150px; height: 20px;" type="text"
					name="tell"  placeholder="填写卖家电话" /><br />
				<br /> 上架时间：<input id="pushDate" style="width: 150px; height: 20px;"
					type="text" name="newspushdays" 
					placeholder="格式按2017-04-09" /><br /> <br /> <input type="submit"
					value="立即添加" />
			</form>
		</div>

	</div>
	
	


</body>
</html>